package com.hyl.infrastructure.gateway;

import com.hyl.infrastructure.gateway.dto.LockMarketPayOrderRequestDTO;
import com.hyl.infrastructure.gateway.dto.LockMarketPayOrderResponseDTO;
import com.hyl.infrastructure.gateway.response.Response;
import org.springframework.web.bind.annotation.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author hyl
 * @description
 * @create 2025-09-19 21:49
 */
public interface IGroupBuyMarketService {
    /**
     * 营销锁单
     *
     * @param requestDTO 锁单商品信息
     * @return 锁单结果信息
     */
    @POST("api/v1/gbm/trade/lock_market_pay_order")
    Call<Response<LockMarketPayOrderResponseDTO>> lockMarketPayOrder(@Body LockMarketPayOrderRequestDTO requestDTO);

}
